package com.game.majiang.algorithm;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum HuType {
	Null(0, "null", 1), 
	PiHu(1, "屁胡", 1), 
	PengPnegHu(2, "碰碰胡", 2),
	MingSiGuiYi(3,"明四归一", 2),
	GangShangKaiHua(4,"杠上开花", 2),
	GangShangPao(5,"杠上炮", 2),
	QiangGangHu(6,"抢杠胡", 2),
	LiangDao(7,"亮倒", 2),
	KaWuXing(8,"卡五星", 2),
	HaiDiLao(9,"海底捞", 2),
	AnSiGuiYi(10,"暗四归一", 2),
	QiDui(11,"七对", 4),
	XiaoSanYuan(12,"小三元", 4),
	QingYiSe(13,"清一色", 4),
	ShouZhuaYi(14,"手抓一", 2),
	LongQiDui(15,"龙七对", 4),
	DaSanYuan(16,"大三元", 8),
	ShuangLongQiDui(17,"双龙七对", 4),
	ZiMo(18, "自摸", 1),
	Yaojiu(19, "幺九", 4),
	Jangdui(20, "将对", 2),
	Menqing(21, "门清", 2),
	Zhongzhang(22, "中张", 2),
	tianhu(23, "天胡", 4),
	dihu(24, "地胡", 2),
	;
	@Setter
	private int _value;
	@Setter
	private String _name;
	@Setter
	private int _odds;
	
	private HuType(int value, String name, int odds)
    {
         _value = value;
         _name = name; 
         _odds = odds;
    }
	
	@Override
	public String toString() {
		return _name+":"+_odds;
	}
}
